<form action="" method="post">
  <table width="70%" cellspacing="0" align="center" border="0" style="background-color:#AFAFAF;font-size:25px;">
    <thead>
      <tr >
        <th colspan="2">Please fill the details</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td width="40%" class="right">Name :</td>
        <td width="60%" ><input type="text" placeholder="Enter Your Name" name="uname" required /></td>
      </tr>

      <tr>
        <td class="right">Email :</td>
        <td><input type="email" placeholder="Enter Your Email" name="email" required /></td>
      </tr>

      <tr>
        <td class="right">Password :</td>
        <td><input type="password" placeholder="Enter Your Password" name="password" required /></td>
      </tr>

      <tr>
        <td class="right">Confirm Password :</td>
        <td><input type="password" placeholder="Enter Same password again" name="cpassword" required /></td>
      </tr>

      <tr>
        <td class="right">DOB :</td>
        <td><input type="date" placeholder="DD-MM-YYYY" name="dob" required /></td>
      </tr>

      <tr>
        <td class="right">Gender :</td>
        <td>

<label><input type="radio" name="gender" required />Male</label>
<label><input type="radio" name="gender" required />Female</label>

        </td>
      </tr>


      <tr>
        <td class="right">Address :</td>
        <td><textarea name="address" placeholder="My Address is.." required></textarea></td>
      </tr>

      <tr>
        <td class="right">Country :</td>
        <td>
<select name="country_id">
  <option value="">--SELECT--</option>
  <option value="1">India</option>
  <option value="2">Pakistan</option>
  <option value="3">Nepal</option>
  <option value="4">Bhutan</option>
  <option value="5">Bangladesh</option>
  <option value="6">SriLanka</option>
  <option value="7">China</option>
</select>
        </td>
      </tr>


      <tr>
        <td class="right">Course :</td>
        <td>
<select name="course_id" size="5" multiple>
  <option value="1">C</option>
  <option value="2">C++</option>
  <option value="3">PHP</option>
  <option value="4">JAVA</option>
  <option value="5">.NET</option>
  <option value="6">PYTHON</option>
  <option value="7">ROR</option>
</select>
        </td>
      </tr>

      <tr>
        <td class="right">Hobbies :</td>
        <td>

<label><input type="checkbox" name="hobby[]" required />Cricket</label>
<label><input type="checkbox" name="hobby[]" required />Hockey</label><br>
<label><input type="checkbox" name="hobby[]" required />Tennis</label>
<label><input type="checkbox" name="hobby[]" required />Football</label>

        </td>
      </tr>

      <tr>
        <td class="right">Upload Avatar :</td>
        <td><input type="file" name="avatar" required /></td>
      </tr>

      <tr>
        <td class="right">&nbsp;</td>
        <td><input type="submit" name="submit" value="I am done!!" /></td>
      </tr>


    </tbody>
  </table>

</form>
